package com.hofon.medical.provider;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.transaction.TransactionConfiguration;
import org.springframework.transaction.annotation.Transactional;

@RunWith(SpringJUnit4ClassRunner.class)
@TransactionConfiguration(transactionManager = "txManager", defaultRollback = true)
@Transactional
/**读取配置文件到运行环境。注意：file的路径 */
@ContextConfiguration(locations = { "classpath:/META-INF/spring/service-impl-context.xml",
        "classpath:/META-INF/spring/service-impl-context-registration.xml",
        "classpath:/META-INF/spring/service-impl-context-doctor.xml",
        "classpath:/META-INF/spring/service-impl-context-system.xml",
        "classpath:/META-INF/spring/service-impl-context-triage.xml",
        "classpath:/META-INF/spring/service-impl-context-storage.xml",
        "classpath:/META-INF/spring/service-impl-context-privilege.xml",
        "classpath:/META-INF/spring/service-import-context.xml",
        "classpath:/META-INF/spring/service-impl-context-customization.xml",
        "classpath:/META-INF/spring/service-impl-context-pacs.xml"})
public class BaseServiceTestCase {
}
